package com.probox.common.entity.domain.centre;

import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.*;
import com.probox.common.core.annotation.Excel;

/**
 * 客户信息对象 customer_info
 *
 * @author zsy
 * @date 2021-07-27
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("customer_info")
@ApiModel(description = "客户信息")
public class CustomerInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 会员ID
     */
    //默认主键自增
    @TableId(value = "CUSTOMER_UID", type = IdType.AUTO)
    private Long customerUid;

    /**
     * 客户名称
     */
    @Excel(name = "客户名称")
    @ApiModelProperty(value = "客户名称")
    private String customerName;

    /**
     * 头像
     */
    @Excel(name = "头像")
    @ApiModelProperty(value = "头像")
    private String headImage;

    /**
     * 性别 1男，0女
     */
    @Excel(name = "性别 1男，0女")
    @ApiModelProperty(value = "性别 1男，0女")
    private String sex;

    /**
     * 国籍
     */
    @Excel(name = "国籍")
    @ApiModelProperty(value = "国籍")
    private String nation;

    /**
     * 省份
     */
    @Excel(name = "省份")
    @ApiModelProperty(value = "省份")
    private String province;

    /**
     * 省份Code
     */
    @Excel(name = "省份Code")
    @ApiModelProperty(value = "省份Code")
    private String provinceCode;

    /**
     * 城市
     */
    @Excel(name = "城市")
    @ApiModelProperty(value = "城市")
    private String city;

    /**
     * 城市Code
     */
    @Excel(name = "城市Code")
    @ApiModelProperty(value = "城市Code")
    private String cityCode;

    /**
     * 区域
     */
    @Excel(name = "区域")
    @ApiModelProperty(value = "区域")
    private String area;

    /**
     * 区域Code
     */
    @Excel(name = "区域Code")
    @ApiModelProperty(value = "区域Code")
    private String areaCode;

    /**
     * 手机号码
     */
    @Excel(name = "手机号码")
    @ApiModelProperty(value = "手机号码")
    private String phone;

    /**
     * 联系人
     */
    @Excel(name = "联系人")
    @ApiModelProperty(value = "联系人")
    private String contactMan;

    /**
     * 平台ID
     */
    @Excel(name = "平台ID")
    @ApiModelProperty(value = "平台ID")
    private Long platformUid;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    @ApiModelProperty(value = "创建人")
    private Long createUser;

    /**
     * 修改人
     */
    @Excel(name = "修改人")
    @ApiModelProperty(value = "修改人")
    private Long updateUser;

    /**
     * 状态 1有效 0无效
     */
    @Excel(name = "状态 1有效 0无效")
    @ApiModelProperty(value = "状态 1有效 0无效")
    private String status;

    /**
     * 推荐关系，用/串联的ID集合
     */
    @Excel(name = "推荐关系，用/串联的ID集合")
    @ApiModelProperty(value = "推荐关系，用/串联的ID集合")
    private String parentTree;

    /**
     * 父级ID
     */
    @Excel(name = "父级ID")
    @ApiModelProperty(value = "父级ID")
    private Long fatherUid;

    /**
     * 祖级ID
     */
    @Excel(name = "祖级ID")
    @ApiModelProperty(value = "祖级ID")
    private Long grandFatherUid;

    /**
     * 客户类型
     */
    @Excel(name = "客户类型")
    @ApiModelProperty(value = "客户类型")
    private String customerType;

    /**
     * 详细地址
     */
    @Excel(name = "详细地址")
    @ApiModelProperty(value = "详细地址")
    private String addressDetail;


}
